.task-invite-container {
    padding: 0 1rem 1rem;
    min-height: 100vh;
    box-sizing: border-box;
    background: url("../images/task_bg.png");
    background-size: 100% auto;
    background-repeat: no-repeat;

    .user-info {
        padding: 1rem 2rem;
        @include flex-center-start();

        .user-photo {
            width: 8rem;
            height: 8rem;
            border-radius: 50%;
            border: 1px solid #fff;
            overflow: hidden;

            img {
                width: 100%;
                height: 100%;
                object-fit: fill;
            }
        }

        .info {
            flex: 1;
            padding-left: 1rem;

            .username {
                font-size: 2.2rem;
                font-weight: bold;
                color: #fff;
            }

            .wallet-btn {
                @include flex-center-start();

                .btn {
                    @include flex-center-center();
                    padding: 0 1rem;
                    height: 3rem;
                    line-height: 3rem;
                    border-radius: 1.5rem;
                    border: 1px solid #fff;

                    .icon {
                        width: 1.6rem;
                        height: 1.6rem;
                        line-height: 0;
                    }

                    .word {
                        font-size: 1rem;
                        margin-left: .4rem;
                    }
                }
            }
        }
    }

    .total-box {
        padding: 1rem 2rem;
        @include flex-center-start();

        .item {
            margin-right: 4rem;
        }

        .num {
            height: 4rem;
            line-height: 4rem;
            font-size: 4rem;
            font-family: "localFont";
        }

        .name {
            font-size: 1rem;
            color: #888989;
        }
    }

    .invite-box {
        padding: 1.4rem;

        .title-box {
            @include flex-center-between();

            .name {
                font-size: 2rem;
                font-weight: bold;
            }

            .num {
                font-size: 1.6rem;
                color: #ffa800;
            }

            .friends-icon {
                @include flex-center-center();

                .icon {
                    width: 2rem;
                    height: 2rem;
                    line-height: 0;
                }

                .num {
                    margin-left: .4rem;
                    line-height: 2rem;
                    color: #545454;
                }
            }
        }

        .desc {
            margin-top: 1.4rem;
            font-size: 1.4rem;
            line-height: 2rem;
            color: #fff;
        }
    }

    .btn-box {
        margin-top: 1.4rem;
        @include flex-center-between();

        .left-box {
            @include flex-center-start();

            .btn {
                width: 12rem;
                height: 3.4rem;
                line-height: 3.4rem;
                border-radius: 1rem;
                text-align: center;
                font-size: 1.4rem;
                text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
                background: linear-gradient(to bottom, #4ef5ff 0, #18e9f6 20%, #0fdbe8 80%, #0b9ba4 100%);

                &.btn-icon {
                    @include flex-center-center();
                    margin-left: 1rem;
                    width: 3.4rem;
                    height: 3.4rem;

                    .icon {
                        width: 2rem;
                        height: 2rem;
                        line-height: 0;
                    }
                }
            }
        }

        .link-box {
            @include flex-center-center();

            .name {
                font-size: 1.6rem;
                color: #cecece;
            }

            .icon {
                width: 1.8rem;
                height: 1.8rem;
                margin-left: .2rem;
                line-height: 0;
            }
        }

    }

    .friends-list {
        margin-top: 2rem;
        height: calc(100vh - 49rem);
        overflow-y: auto;
        .item-box {
            padding: 1rem 0;
            @include flex-center-between();
            .icon-box {
                width: 3rem;
                height: 3rem;
                border-radius: 50%;
                background-color: #949494;
                overflow: hidden;

                img {
                    width: 100%;
                    height: 100%;
                }
            }

            .left-box {
                margin-left: 1rem;
                flex: 1;

                .name {
                    font-size: 1.2rem;
                    font-weight: bold;
                }

                .value {
                    font-size: .8rem;
                    color: #949494;
                }
            }

            .right-box {
                .num {
                    font-size: 1.2rem;
                    color: #fdb900;
                }
            }
        }
    }

}